home *** CD-ROM | disk | FTP | other *** search
- Welcome to QDHELP version 2.0
-
- This file contains information on what new features and fuctionality
- have been added to QDHELP. Also found here are any known problems
- with backward compatibility.
-
- New Fuctionality included in this release:
-
- -----------------------------------------------------------------------
-
- output file name change:
-
- The default for the output file name is no
- longer out.rtf. If no output file name is given explicitly the
- output file will have the same base name as the input file with the
- extention .rtf added. Example input is myhelp.qdh default output
- will now be myhelp.rtf.
-
- -----------------------------------------------------------------------
-
- color text commands:
-
- Text can now be colored using the \cfXXX command
- where XXX is an index between 0 and 15 which determines the color of
- the text. The included windows help file shows the colors.
-
- -----------------------------------------------------------------------
-
- auto generation of .hpj file: The .hpj file will use the same base name
-
- as the input file with a extension .hpj . To suppress the output of the
- .hpj file use the command
- /pragma nohpj
-
- -----------------------------------------------------------------------
-
- auto generation of include file for context sensitive help:
-
- QDHELP will automatically generate a C header file with constants
- for context sensitive help. The file will use the same base name as
- the input file with a extension of .hhh. This file can be included
- in the .hpj file (if you are generating a .hpj and a .hhh file the
- include will automatically be put in your .hpj file). It can also be
- included in your C source via the #include directive.
-
-
- -----------------------------------------------------------------------
-
- format type for whole document:
-
- A new command /defformat will accept
- both paragraph and text formatting commands. If this command is used
- outside a topic this will be the base format for all text in the
- document. All other formatting commands are applied after the default
- format commands. If this command is found inside a topic all the
- text in the topic will use these as there base formatting commands.
- When the topic ends so does the use of the /defformat command found
- inside the topic.
-
- -----------------------------------------------------------------------
-
- format type for whole para:
-
- The \para command now allows formatting
- commands for text to be included after it. This will cause all the
- text in that paragraph to use those formatting properties.
-
- -----------------------------------------------------------------------
-
- support for buildtags:
-
- The /topic command now arguments after the topic name.
- They are buildtag names
-
- Example
- /topic MYTOPIC,BUILD1;BUILD2;BUILD3
- This sets build tabs BUILD1,BUILD2 and BUILD3 for topic MYTOPIC. The use
- of the build tabs is described in the help compiler manual. If you are
- using the -j flag and generating a .hpj file the build tags will
- automatically be put into the .hpj file for you. Also the BUILD option
- in the [OPTIONS] section will be set to the OR of all of the build tags
- found
- BUILD = BUILD1 | BUILD2 | BUILD3
- This will cause all of the topics in the file to be built. You can
- of course change what will be built by changing the BUILD option.
-
-
- -----------------------------------------------------------------------
-
- force a newline: (HC3.1 WinHelp 3.1)
-
- Microsoft fixed the help compiler so it understands the \line command
- now. So to put newlines into the help file do the following
-
- Example
-
- /para
- line 1 \line
- line 2 \line
- line 3 \line
- line 4 \line
- /endpara
-
- This will only work with the new help compiler and anything compiled
- with the new help compiler can only be used with the new version of
- WinHelp.
-
- -----------------------------------------------------------------------
-
- support macro links: (HC3.1 WinHelp 3.1)
-
- The Windows 3.1 release has alot of new power in the help engine.
- QDHELP supports the new macro links (i.e. links the instead of
- jumping to a topic execute a macro command). The syntax is
-
- /macrolink link text,macro
-
- where link text is the text to press and macro is the macro to execute
- when link text is pressed.
-
- ------------------------------------------------------------------------
-
- support topic macros: (HC3.1 WinHelp 3.1)
-
- The Windows 3.1 release allows macros to be executed when a topic is
- jumped to. This is supported via the /topicmacro command.
-
- The /topicmacro command is grouped with the /keywords /browse /title
- commands at the beginning of a topic. Its syntax is
-
- /topicmacro macro
-
- Where macro is a macro that you want executed when the topic you are
- defining is jumped to.
-
- ------------------------------------------------------------------------
-
- support for .HPJ file inputs:
-
- Since QDHELP 2.0 supports automatic generation of .HPJ files there is
- a whole set of commands that allow you to add information to the .HPJ
- file. These commands were added so that you do not have to manually
- edit the .HPJ file. In this way you can keep all the information you
- need for your help file in one place. The following commands were
- added.
-
- /hpjmap
- /hpjoption
- /hpjconfig
- /hpjbuild
- /hpjfiles
- /hpjbitmap
- /hpjalias
- /hpjwindows
- /hpjbaggage
-
-
- These commands are the same as the sections of the .HPJ file under windows
- 3.1. You can find more information on each of these commands in the
- accompaning help file.
-
- --------------------------------------------------------------------------
-
- New help file layout:
-
- The source for the help files for QDHELP and QDMENU have been broken into
- multiple files. If you choose to work in this method using the /include
- command to gather all the files together you may be interested in the new
- browse capability added for Win 3.1 users. The command
- /pragma debug
- causes a new button to be added to the help window labeled Browse. If you
- press browse ,and you ran the help file from the directory which contains the
- .QDH source, a notepad will pop up with the source file for the given topic
- in it. It is a very nice way to check and edit your help file. Try it
- you will like it.
-
- --------------------------------------------------------------------------
-
- Be sure to check the help file included and the source for the help file
- since there is much that is new and the best way to learn about is by
- example.
-
- --------------------------------------------------------------------------
-
- Backward compatiblity Issues:
-
- None of the Win 3.1 additions to help will be able to be compiled under the
- HC 3.0 help compiler. This is the compiler that is still shipping with
- the Profession Toolkit for basic. You will need the 3.1 help compiler
- to take advantage of these features. But remember that help files compiled
- with the 3.1 help compiler are not useable by the 3.0 WinHelp program.
- Therefore if someone is still running windows 3.0 and your help file is
- for 3.1 there could be problems.
-
- --------------------------------------------------------------------------
-
- Keep making help the quick and dirty way!
-
- Phil Allen